package net.homeip.jcperera.nu.security.user;

import javax.inject.Named;
import javax.persistence.Basic;
import javax.persistence.Column;

import net.homeip.jcperera.nu.security.credential.IdentificationTag;

/**
 * Login, referring to the most widely used identification method
 * 
 * @name Login class
 * @author julio.c.perera@gmail.com
 * @application nu
 * @since 0.1.0.0
 */

@Named(Login.componentName)
public class Login extends IdentificationTag
{
    // Required to implement Serializable interface
    private static final long  serialVersionUID = 6774887532745505728L;

    // CoreBase properties, for easy use from other components, as well as logging
    public static final int    runtimeLevel     = 2;
    public static final String moduleName       = "security";
    public static final String componentName    = "nu_security_user_login";

    /**
     * Gets the value of this Identification Tag as String
     */
    @Override
    @Basic
    @Column(name = "LOGIN")
    public String getValue()
    {
        return super.getValue();
    }
}